package com.shiku.xmpppush.autoconfigure;

import com.google.common.collect.Maps;
import com.shiku.xmpppush.KAdminProperties;
import com.shiku.xmpppush.autoconfigure.ApplicationProperties.IMConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.util.Map;

@Configuration
public class CommAutoConfiguration {
	@Autowired
	private ApplicationProperties config;
	


	

	@Bean(name="imConfig")
	public IMConfig imConfig(){
		IMConfig imConfig=config.getImConfig();
		return imConfig;
	}
	

}
